package com.zzyl.serve.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "健康数据")
public class HealthDataVo {


    @ApiModelProperty(value = "属性ID")
    private String functionId;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss" , timezone = "GMT+8")//get
    private LocalDateTime eventTime;

    /**
     * 次数
     */
    @ApiModelProperty(value = "心率")
    private Integer value;
}
